﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Data;

/// <summary>
/// Summary description for BouquetBUS
/// </summary>
public class BouquetBUS
{
    BouquetDAL bouDAL = new BouquetDAL();
	public BouquetBUS()
	{
		//
		// TODO: Add constructor logic here
		//
	}

    public DataTable returnBouquetByHome()
    {
        return bouDAL.getBouquetByHome();
    }

    public DataTable returnAllBouquet() {
        return bouDAL.getAllBouquet();
    }

    public bool updateStatusBouquet(string id) {
        return bouDAL.updateStatusBouquet(id);
    }

    public bool insertBouquet(string id, string name, float price, string details, string image, int cid) {
        return bouDAL.insertBouquet(id,name,price,details,image,cid);
    }

    public DataTable returnBouquetByID(string id) {
        return bouDAL.getBouquetByID(id);
    }
    public bool updateBouquet(string id, string name, float price, string details, string image, int cid, int home) {
        return bouDAL.updateBouquet(id,name,price,details,image,cid,home);

    }
}